#!/bin/sh
echo $0 $1 $2
i=1
while [ "$i" != "$(($1+1))" ]; do 
psselect -p$i $2 $i.ps 
i=$(($i+1))
done
